package com.lj.kdmadmin.modules.sites.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.lj.kdmadmin.common.utils.PageUtils;
import com.lj.kdmadmin.common.utils.Query;

import com.lj.kdmadmin.modules.sites.dao.TKdsMoviesCategoryDao;
import com.lj.kdmadmin.modules.sites.entity.TKdsMoviesCategoryEntity;
import com.lj.kdmadmin.modules.sites.service.TKdsMoviesCategoryService;


@Service("tKdsMoviesCategoryService")
public class TKdsMoviesCategoryServiceImpl extends ServiceImpl<TKdsMoviesCategoryDao, TKdsMoviesCategoryEntity> implements TKdsMoviesCategoryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TKdsMoviesCategoryEntity> page = this.selectPage(
                new Query<TKdsMoviesCategoryEntity>(params).getPage(),
                new EntityWrapper<TKdsMoviesCategoryEntity>()
        );

        return new PageUtils(page);
    }

}
